In [1]:
# This is required to show the plots in the notebook
%matplotlib notebook

In [2]:
import pandas as pd # Required for reading CSV file to DataFrame
import pycomlink as pycml

All the work you do with pycomlink will be based on the Comlink object, which represents one CML between two sites and with an arbitrary number of channels, i.e. the different connections between the two sites, typically one for each direction.

To get a Comlink object from you raw data which is probably in a CSV file, do the following

  1. Read in the CSV file into a DataFrame using the Python package pandas
  2. Reformat the DataFrame according to the convenctions of pycomlink
  3. Prepare the necessary metadata for the ComlinkChannels and the Comlink object
  4. Build ComlinkChannel objects for each channel, i.e. each pair of TX and RX time series that belong to one CML
  5. Build a Comlink from the channels

Then you are set to go and use all the pycomlink functionality.

Read in CML data from CSV file

Use the fantastic pandas CSV reader. In this case the time stamps are in the first column, hence set index_col=0 and can automatically be parsed to datetime objects, hence set parse_dates=True.


In [3]:
df = pd.read_csv('example_data/gap0_gap4_2012.csv', parse_dates=True, index_col=0)

In [4]:
df.head()


Out[4]:
rsl
time
2012-05-01 00:00:00 -40.565
2012-05-01 00:01:00 -40.594
2012-05-01 00:02:00 -40.565
2012-05-01 00:03:00 -40.565
2012-05-01 00:04:00 -40.565

pycomlink expects a fixed naming convention for the data in the DataFrames. The columns have to be named rx and tx. Hence, rename rsl here to rx and add a columne with the constant tx level, which was 20 dBm in this case. Please note that you always have to provide the tx level even if it is constat all the time. You can specify that TX is constant by passing atpc='off'.


In [5]:
# Rename the columns for the RX level
df.columns = ['rx']

In [6]:
df


Out[6]:
rx
time
2012-05-01 00:00:00 -40.565
2012-05-01 00:01:00 -40.594
2012-05-01 00:02:00 -40.565
2012-05-01 00:03:00 -40.565
2012-05-01 00:04:00 -40.565
2012-05-01 00:05:00 -40.594
2012-05-01 00:06:00 -40.565
2012-05-01 00:07:00 -40.565
2012-05-01 00:08:00 -40.594
2012-05-01 00:09:00 -40.594
2012-05-01 00:10:00 -40.565
2012-05-01 00:11:00 -40.594
2012-05-01 00:12:00 -40.565
2012-05-01 00:13:00 -40.594
2012-05-01 00:14:00 -40.565
2012-05-01 00:15:00 -40.565
2012-05-01 00:16:00 -40.565
2012-05-01 00:17:00 -40.594
2012-05-01 00:18:00 -40.594
2012-05-01 00:19:00 -40.594
2012-05-01 00:20:00 -40.594
2012-05-01 00:21:00 -40.594
2012-05-01 00:22:00 -40.594
2012-05-01 00:23:00 -40.594
2012-05-01 00:24:00 -40.565
2012-05-01 00:25:00 -40.565
2012-05-01 00:26:00 -40.594
2012-05-01 00:27:00 -40.594
2012-05-01 00:28:00 -40.565
2012-05-01 00:29:00 -40.594
... ...
2012-10-31 23:30:00 -40.391
2012-10-31 23:31:00 -40.391
2012-10-31 23:32:00 -40.391
2012-10-31 23:33:00 -40.391
2012-10-31 23:34:00 -40.420
2012-10-31 23:35:00 -40.420
2012-10-31 23:36:00 -40.420
2012-10-31 23:37:00 -40.420
2012-10-31 23:38:00 -40.391
2012-10-31 23:39:00 -40.420
2012-10-31 23:40:00 -40.391
2012-10-31 23:41:00 -40.391
2012-10-31 23:42:00 -40.420
2012-10-31 23:43:00 -40.420
2012-10-31 23:44:00 -40.420
2012-10-31 23:45:00 -40.391
2012-10-31 23:46:00 -40.420
2012-10-31 23:47:00 -40.420
2012-10-31 23:48:00 -40.420
2012-10-31 23:49:00 -40.420
2012-10-31 23:50:00 -40.420
2012-10-31 23:51:00 -40.391
2012-10-31 23:52:00 -40.420
2012-10-31 23:53:00 -40.391
2012-10-31 23:54:00 -40.391
2012-10-31 23:55:00 -40.420
2012-10-31 23:56:00 -40.420
2012-10-31 23:57:00 -40.420
2012-10-31 23:58:00 -40.420
2012-10-31 23:59:00 -40.420

251221 rows × 1 columns


In [7]:
# Add a constant TX level
df['tx'] = 20

In [8]:
df


Out[8]:
rx tx
time
2012-05-01 00:00:00 -40.565 20
2012-05-01 00:01:00 -40.594 20
2012-05-01 00:02:00 -40.565 20
2012-05-01 00:03:00 -40.565 20
2012-05-01 00:04:00 -40.565 20
2012-05-01 00:05:00 -40.594 20
2012-05-01 00:06:00 -40.565 20
2012-05-01 00:07:00 -40.565 20
2012-05-01 00:08:00 -40.594 20
2012-05-01 00:09:00 -40.594 20
2012-05-01 00:10:00 -40.565 20
2012-05-01 00:11:00 -40.594 20
2012-05-01 00:12:00 -40.565 20
2012-05-01 00:13:00 -40.594 20
2012-05-01 00:14:00 -40.565 20
2012-05-01 00:15:00 -40.565 20
2012-05-01 00:16:00 -40.565 20
2012-05-01 00:17:00 -40.594 20
2012-05-01 00:18:00 -40.594 20
2012-05-01 00:19:00 -40.594 20
2012-05-01 00:20:00 -40.594 20
2012-05-01 00:21:00 -40.594 20
2012-05-01 00:22:00 -40.594 20
2012-05-01 00:23:00 -40.594 20
2012-05-01 00:24:00 -40.565 20
2012-05-01 00:25:00 -40.565 20
2012-05-01 00:26:00 -40.594 20
2012-05-01 00:27:00 -40.594 20
2012-05-01 00:28:00 -40.565 20
2012-05-01 00:29:00 -40.594 20
... ... ...
2012-10-31 23:30:00 -40.391 20
2012-10-31 23:31:00 -40.391 20
2012-10-31 23:32:00 -40.391 20
2012-10-31 23:33:00 -40.391 20
2012-10-31 23:34:00 -40.420 20
2012-10-31 23:35:00 -40.420 20
2012-10-31 23:36:00 -40.420 20
2012-10-31 23:37:00 -40.420 20
2012-10-31 23:38:00 -40.391 20
2012-10-31 23:39:00 -40.420 20
2012-10-31 23:40:00 -40.391 20
2012-10-31 23:41:00 -40.391 20
2012-10-31 23:42:00 -40.420 20
2012-10-31 23:43:00 -40.420 20
2012-10-31 23:44:00 -40.420 20
2012-10-31 23:45:00 -40.391 20
2012-10-31 23:46:00 -40.420 20
2012-10-31 23:47:00 -40.420 20
2012-10-31 23:48:00 -40.420 20
2012-10-31 23:49:00 -40.420 20
2012-10-31 23:50:00 -40.420 20
2012-10-31 23:51:00 -40.391 20
2012-10-31 23:52:00 -40.420 20
2012-10-31 23:53:00 -40.391 20
2012-10-31 23:54:00 -40.391 20
2012-10-31 23:55:00 -40.420 20
2012-10-31 23:56:00 -40.420 20
2012-10-31 23:57:00 -40.420 20
2012-10-31 23:58:00 -40.420 20
2012-10-31 23:59:00 -40.420 20

251221 rows × 2 columns

Prepare the necessary metadata


In [9]:
ch_metadata =   {
    'frequency': 18.7 * 1e9, # Frequency in Hz
    'polarization': 'V', 
    'channel_id': 'channel_xy',
    'atpc': 'off'} # This means that TX level is constant

cml_metadata = {
    'site_a_latitude': 50.50, # Some fake coordinates
    'site_a_longitude': 11.11,
    'site_b_latitude': 50.59,
    'site_b_longitude': 11.112,
    'cml_id': 'XY_1234'}

Build a ComlinkChannel object


In [10]:
cml_ch = pycml.ComlinkChannel(df, metadata=ch_metadata)

In [11]:
cml_ch


Out[11]:
polarization: V
channel_id: channel_xy
atpc: off
frequency: 18.7 GHz
rx tx txrx
time
2012-05-01 00:00:00 -40.565 20 60.565
2012-05-01 00:01:00 -40.594 20 60.594
2012-05-01 00:02:00 -40.565 20 60.565
2012-05-01 00:03:00 -40.565 20 60.565
2012-05-01 00:04:00 -40.565 20 60.565
2012-05-01 00:05:00 -40.594 20 60.594
2012-05-01 00:06:00 -40.565 20 60.565
2012-05-01 00:07:00 -40.565 20 60.565
2012-05-01 00:08:00 -40.594 20 60.594
2012-05-01 00:09:00 -40.594 20 60.594
2012-05-01 00:10:00 -40.565 20 60.565
2012-05-01 00:11:00 -40.594 20 60.594
2012-05-01 00:12:00 -40.565 20 60.565
2012-05-01 00:13:00 -40.594 20 60.594
2012-05-01 00:14:00 -40.565 20 60.565
2012-05-01 00:15:00 -40.565 20 60.565
2012-05-01 00:16:00 -40.565 20 60.565
2012-05-01 00:17:00 -40.594 20 60.594
2012-05-01 00:18:00 -40.594 20 60.594
2012-05-01 00:19:00 -40.594 20 60.594
2012-05-01 00:20:00 -40.594 20 60.594
2012-05-01 00:21:00 -40.594 20 60.594
2012-05-01 00:22:00 -40.594 20 60.594
2012-05-01 00:23:00 -40.594 20 60.594
2012-05-01 00:24:00 -40.565 20 60.565
2012-05-01 00:25:00 -40.565 20 60.565
2012-05-01 00:26:00 -40.594 20 60.594
2012-05-01 00:27:00 -40.594 20 60.594
2012-05-01 00:28:00 -40.565 20 60.565
2012-05-01 00:29:00 -40.594 20 60.594
... ... ... ...
2012-10-31 23:30:00 -40.391 20 60.391
2012-10-31 23:31:00 -40.391 20 60.391
2012-10-31 23:32:00 -40.391 20 60.391
2012-10-31 23:33:00 -40.391 20 60.391
2012-10-31 23:34:00 -40.420 20 60.420
2012-10-31 23:35:00 -40.420 20 60.420
2012-10-31 23:36:00 -40.420 20 60.420
2012-10-31 23:37:00 -40.420 20 60.420
2012-10-31 23:38:00 -40.391 20 60.391
2012-10-31 23:39:00 -40.420 20 60.420
2012-10-31 23:40:00 -40.391 20 60.391
2012-10-31 23:41:00 -40.391 20 60.391
2012-10-31 23:42:00 -40.420 20 60.420
2012-10-31 23:43:00 -40.420 20 60.420
2012-10-31 23:44:00 -40.420 20 60.420
2012-10-31 23:45:00 -40.391 20 60.391
2012-10-31 23:46:00 -40.420 20 60.420
2012-10-31 23:47:00 -40.420 20 60.420
2012-10-31 23:48:00 -40.420 20 60.420
2012-10-31 23:49:00 -40.420 20 60.420
2012-10-31 23:50:00 -40.420 20 60.420
2012-10-31 23:51:00 -40.391 20 60.391
2012-10-31 23:52:00 -40.420 20 60.420
2012-10-31 23:53:00 -40.391 20 60.391
2012-10-31 23:54:00 -40.391 20 60.391
2012-10-31 23:55:00 -40.420 20 60.420
2012-10-31 23:56:00 -40.420 20 60.420
2012-10-31 23:57:00 -40.420 20 60.420
2012-10-31 23:58:00 -40.420 20 60.420
2012-10-31 23:59:00 -40.420 20 60.420

251221 rows × 3 columns

Build a Comlink object with the one channel from above


In [12]:
cml = pycml.Comlink(channels=cml_ch, metadata=cml_metadata)

Look at the contents of the CML


In [13]:
cml


Out[13]:
channel_1
polarization: V
channel_id: channel_xy
atpc: off
frequency: 18.7 GHz
rx tx txrx
time
2012-05-01 00:00:00 -40.565 20 60.565
2012-05-01 00:01:00 -40.594 20 60.594
2012-05-01 00:02:00 -40.565 20 60.565
2012-05-01 00:03:00 -40.565 20 60.565
2012-05-01 00:04:00 -40.565 20 60.565
2012-05-01 00:05:00 -40.594 20 60.594
2012-05-01 00:06:00 -40.565 20 60.565
2012-05-01 00:07:00 -40.565 20 60.565
2012-05-01 00:08:00 -40.594 20 60.594
2012-05-01 00:09:00 -40.594 20 60.594
2012-05-01 00:10:00 -40.565 20 60.565
2012-05-01 00:11:00 -40.594 20 60.594
2012-05-01 00:12:00 -40.565 20 60.565
2012-05-01 00:13:00 -40.594 20 60.594
2012-05-01 00:14:00 -40.565 20 60.565
2012-05-01 00:15:00 -40.565 20 60.565
2012-05-01 00:16:00 -40.565 20 60.565
2012-05-01 00:17:00 -40.594 20 60.594
2012-05-01 00:18:00 -40.594 20 60.594
2012-05-01 00:19:00 -40.594 20 60.594
2012-05-01 00:20:00 -40.594 20 60.594
2012-05-01 00:21:00 -40.594 20 60.594
2012-05-01 00:22:00 -40.594 20 60.594
2012-05-01 00:23:00 -40.594 20 60.594
2012-05-01 00:24:00 -40.565 20 60.565
2012-05-01 00:25:00 -40.565 20 60.565
2012-05-01 00:26:00 -40.594 20 60.594
2012-05-01 00:27:00 -40.594 20 60.594
2012-05-01 00:28:00 -40.565 20 60.565
2012-05-01 00:29:00 -40.594 20 60.594
... ... ... ...
2012-10-31 23:30:00 -40.391 20 60.391
2012-10-31 23:31:00 -40.391 20 60.391
2012-10-31 23:32:00 -40.391 20 60.391
2012-10-31 23:33:00 -40.391 20 60.391
2012-10-31 23:34:00 -40.420 20 60.420
2012-10-31 23:35:00 -40.420 20 60.420
2012-10-31 23:36:00 -40.420 20 60.420
2012-10-31 23:37:00 -40.420 20 60.420
2012-10-31 23:38:00 -40.391 20 60.391
2012-10-31 23:39:00 -40.420 20 60.420
2012-10-31 23:40:00 -40.391 20 60.391
2012-10-31 23:41:00 -40.391 20 60.391
2012-10-31 23:42:00 -40.420 20 60.420
2012-10-31 23:43:00 -40.420 20 60.420
2012-10-31 23:44:00 -40.420 20 60.420
2012-10-31 23:45:00 -40.391 20 60.391
2012-10-31 23:46:00 -40.420 20 60.420
2012-10-31 23:47:00 -40.420 20 60.420
2012-10-31 23:48:00 -40.420 20 60.420
2012-10-31 23:49:00 -40.420 20 60.420
2012-10-31 23:50:00 -40.420 20 60.420
2012-10-31 23:51:00 -40.391 20 60.391
2012-10-31 23:52:00 -40.420 20 60.420
2012-10-31 23:53:00 -40.391 20 60.391
2012-10-31 23:54:00 -40.391 20 60.391
2012-10-31 23:55:00 -40.420 20 60.420
2012-10-31 23:56:00 -40.420 20 60.420
2012-10-31 23:57:00 -40.420 20 60.420
2012-10-31 23:58:00 -40.420 20 60.420
2012-10-31 23:59:00 -40.420 20 60.420

251221 rows × 3 columns


In [14]:
cml.plot_data(['rx']);



In [15]:
cml.plot_map()


Out[15]:

In case your CML has several channels, you can pass a list of channels


In [16]:
cml_ch_1 = pycml.ComlinkChannel(df, metadata=ch_metadata)
df.rx = df.rx - 1.3
cml_ch_2 = pycml.ComlinkChannel(df, metadata=ch_metadata)

cml = pycml.Comlink(channels=[cml_ch_1, cml_ch_2], metadata=cml_metadata)

In [17]:
cml


Out[17]:
channel_1
polarization: V
channel_id: channel_xy
atpc: off
frequency: 18.7 GHz
rx tx txrx
time
2012-05-01 00:00:00 -40.565 20 60.565
2012-05-01 00:01:00 -40.594 20 60.594
2012-05-01 00:02:00 -40.565 20 60.565
2012-05-01 00:03:00 -40.565 20 60.565
2012-05-01 00:04:00 -40.565 20 60.565
2012-05-01 00:05:00 -40.594 20 60.594
2012-05-01 00:06:00 -40.565 20 60.565
2012-05-01 00:07:00 -40.565 20 60.565
2012-05-01 00:08:00 -40.594 20 60.594
2012-05-01 00:09:00 -40.594 20 60.594
2012-05-01 00:10:00 -40.565 20 60.565
2012-05-01 00:11:00 -40.594 20 60.594
2012-05-01 00:12:00 -40.565 20 60.565
2012-05-01 00:13:00 -40.594 20 60.594
2012-05-01 00:14:00 -40.565 20 60.565
2012-05-01 00:15:00 -40.565 20 60.565
2012-05-01 00:16:00 -40.565 20 60.565
2012-05-01 00:17:00 -40.594 20 60.594
2012-05-01 00:18:00 -40.594 20 60.594
2012-05-01 00:19:00 -40.594 20 60.594
2012-05-01 00:20:00 -40.594 20 60.594
2012-05-01 00:21:00 -40.594 20 60.594
2012-05-01 00:22:00 -40.594 20 60.594
2012-05-01 00:23:00 -40.594 20 60.594
2012-05-01 00:24:00 -40.565 20 60.565
2012-05-01 00:25:00 -40.565 20 60.565
2012-05-01 00:26:00 -40.594 20 60.594
2012-05-01 00:27:00 -40.594 20 60.594
2012-05-01 00:28:00 -40.565 20 60.565
2012-05-01 00:29:00 -40.594 20 60.594
... ... ... ...
2012-10-31 23:30:00 -40.391 20 60.391
2012-10-31 23:31:00 -40.391 20 60.391
2012-10-31 23:32:00 -40.391 20 60.391
2012-10-31 23:33:00 -40.391 20 60.391
2012-10-31 23:34:00 -40.420 20 60.420
2012-10-31 23:35:00 -40.420 20 60.420
2012-10-31 23:36:00 -40.420 20 60.420
2012-10-31 23:37:00 -40.420 20 60.420
2012-10-31 23:38:00 -40.391 20 60.391
2012-10-31 23:39:00 -40.420 20 60.420
2012-10-31 23:40:00 -40.391 20 60.391
2012-10-31 23:41:00 -40.391 20 60.391
2012-10-31 23:42:00 -40.420 20 60.420
2012-10-31 23:43:00 -40.420 20 60.420
2012-10-31 23:44:00 -40.420 20 60.420
2012-10-31 23:45:00 -40.391 20 60.391
2012-10-31 23:46:00 -40.420 20 60.420
2012-10-31 23:47:00 -40.420 20 60.420
2012-10-31 23:48:00 -40.420 20 60.420
2012-10-31 23:49:00 -40.420 20 60.420
2012-10-31 23:50:00 -40.420 20 60.420
2012-10-31 23:51:00 -40.391 20 60.391
2012-10-31 23:52:00 -40.420 20 60.420
2012-10-31 23:53:00 -40.391 20 60.391
2012-10-31 23:54:00 -40.391 20 60.391
2012-10-31 23:55:00 -40.420 20 60.420
2012-10-31 23:56:00 -40.420 20 60.420
2012-10-31 23:57:00 -40.420 20 60.420
2012-10-31 23:58:00 -40.420 20 60.420
2012-10-31 23:59:00 -40.420 20 60.420

251221 rows × 3 columns

channel_2
polarization: V
channel_id: channel_xy
atpc: off
frequency: 18.7 GHz
rx tx txrx
time
2012-05-01 00:00:00 -41.865 20 61.865
2012-05-01 00:01:00 -41.894 20 61.894
2012-05-01 00:02:00 -41.865 20 61.865
2012-05-01 00:03:00 -41.865 20 61.865
2012-05-01 00:04:00 -41.865 20 61.865
2012-05-01 00:05:00 -41.894 20 61.894
2012-05-01 00:06:00 -41.865 20 61.865
2012-05-01 00:07:00 -41.865 20 61.865
2012-05-01 00:08:00 -41.894 20 61.894
2012-05-01 00:09:00 -41.894 20 61.894
2012-05-01 00:10:00 -41.865 20 61.865
2012-05-01 00:11:00 -41.894 20 61.894
2012-05-01 00:12:00 -41.865 20 61.865
2012-05-01 00:13:00 -41.894 20 61.894
2012-05-01 00:14:00 -41.865 20 61.865
2012-05-01 00:15:00 -41.865 20 61.865
2012-05-01 00:16:00 -41.865 20 61.865
2012-05-01 00:17:00 -41.894 20 61.894
2012-05-01 00:18:00 -41.894 20 61.894
2012-05-01 00:19:00 -41.894 20 61.894
2012-05-01 00:20:00 -41.894 20 61.894
2012-05-01 00:21:00 -41.894 20 61.894
2012-05-01 00:22:00 -41.894 20 61.894
2012-05-01 00:23:00 -41.894 20 61.894
2012-05-01 00:24:00 -41.865 20 61.865
2012-05-01 00:25:00 -41.865 20 61.865
2012-05-01 00:26:00 -41.894 20 61.894
2012-05-01 00:27:00 -41.894 20 61.894
2012-05-01 00:28:00 -41.865 20 61.865
2012-05-01 00:29:00 -41.894 20 61.894
... ... ... ...
2012-10-31 23:30:00 -41.691 20 61.691
2012-10-31 23:31:00 -41.691 20 61.691
2012-10-31 23:32:00 -41.691 20 61.691
2012-10-31 23:33:00 -41.691 20 61.691
2012-10-31 23:34:00 -41.720 20 61.720
2012-10-31 23:35:00 -41.720 20 61.720
2012-10-31 23:36:00 -41.720 20 61.720
2012-10-31 23:37:00 -41.720 20 61.720
2012-10-31 23:38:00 -41.691 20 61.691
2012-10-31 23:39:00 -41.720 20 61.720
2012-10-31 23:40:00 -41.691 20 61.691
2012-10-31 23:41:00 -41.691 20 61.691
2012-10-31 23:42:00 -41.720 20 61.720
2012-10-31 23:43:00 -41.720 20 61.720
2012-10-31 23:44:00 -41.720 20 61.720
2012-10-31 23:45:00 -41.691 20 61.691
2012-10-31 23:46:00 -41.720 20 61.720
2012-10-31 23:47:00 -41.720 20 61.720
2012-10-31 23:48:00 -41.720 20 61.720
2012-10-31 23:49:00 -41.720 20 61.720
2012-10-31 23:50:00 -41.720 20 61.720
2012-10-31 23:51:00 -41.691 20 61.691
2012-10-31 23:52:00 -41.720 20 61.720
2012-10-31 23:53:00 -41.691 20 61.691
2012-10-31 23:54:00 -41.691 20 61.691
2012-10-31 23:55:00 -41.720 20 61.720
2012-10-31 23:56:00 -41.720 20 61.720
2012-10-31 23:57:00 -41.720 20 61.720
2012-10-31 23:58:00 -41.720 20 61.720
2012-10-31 23:59:00 -41.720 20 61.720

251221 rows × 3 columns


In [18]:
cml.plot_data();


Run typicall processing

(see other notebooks for more details on this)


In [19]:
cml.process.wet_dry.std_dev(window_length=100, threshold=0.3)
cml.process.baseline.linear()
cml.process.baseline.calc_A()
cml.process.A_R.calc_R()


Out[19]:
channel_1
polarization: V
channel_id: channel_xy
atpc: off
frequency: 18.7 GHz
rx tx txrx wet baseline A R
time
2012-05-01 00:00:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:01:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:02:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:03:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:04:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:05:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:06:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:07:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:08:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:09:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:10:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:11:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:12:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:13:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:14:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:15:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:16:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:17:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:18:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:19:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:20:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:21:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:22:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:23:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:24:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:25:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:26:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:27:00 -40.594 20 60.594 False 60.594 0.0 0.0
2012-05-01 00:28:00 -40.565 20 60.565 False 60.565 0.0 0.0
2012-05-01 00:29:00 -40.594 20 60.594 False 60.594 0.0 0.0
... ... ... ... ... ... ... ...
2012-10-31 23:30:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:31:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:32:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:33:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:34:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:35:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:36:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:37:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:38:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:39:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:40:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:41:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:42:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:43:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:44:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:45:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:46:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:47:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:48:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:49:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:50:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:51:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:52:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:53:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:54:00 -40.391 20 60.391 False 60.391 0.0 0.0
2012-10-31 23:55:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:56:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:57:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:58:00 -40.420 20 60.420 False 60.420 0.0 0.0
2012-10-31 23:59:00 -40.420 20 60.420 False 60.420 0.0 0.0

251221 rows × 7 columns

channel_2
polarization: V
channel_id: channel_xy
atpc: off
frequency: 18.7 GHz
rx tx txrx wet baseline A R
time
2012-05-01 00:00:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:01:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:02:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:03:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:04:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:05:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:06:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:07:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:08:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:09:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:10:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:11:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:12:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:13:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:14:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:15:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:16:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:17:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:18:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:19:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:20:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:21:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:22:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:23:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:24:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:25:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:26:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:27:00 -41.894 20 61.894 False 61.894 0.0 0.0
2012-05-01 00:28:00 -41.865 20 61.865 False 61.865 0.0 0.0
2012-05-01 00:29:00 -41.894 20 61.894 False 61.894 0.0 0.0
... ... ... ... ... ... ... ...
2012-10-31 23:30:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:31:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:32:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:33:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:34:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:35:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:36:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:37:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:38:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:39:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:40:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:41:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:42:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:43:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:44:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:45:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:46:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:47:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:48:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:49:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:50:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:51:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:52:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:53:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:54:00 -41.691 20 61.691 False 61.691 0.0 0.0
2012-10-31 23:55:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:56:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:57:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:58:00 -41.720 20 61.720 False 61.720 0.0 0.0
2012-10-31 23:59:00 -41.720 20 61.720 False 61.720 0.0 0.0

251221 rows × 7 columns


In [20]:
cml.plot_data(['rx', 'wet', 'R']);